Repository navigation
Conversation
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
CBRAIN_LOCAL_PROFILE=slurmto the Apple container deployment in #1717. The profile starts a portal, a separate Bourreau usingScirSlurm, and a one-node Slurm container. Bourreau and the compute node share/clusterfor work and cache. The image installs ARM64 Apptainer 1.5.5 on both, allowing Bourreau to stage an image and submit a containerized job. The portal is available athttp://localhost:3003.The profile retains Slurm 20.11 for compatibility with the existing local accounting data and process-based job tracking. Cgroup resource enforcement is disabled for this local setup.
Database isolation
The Slurm profile has its own MariaDB container and persistent volume, container network, generated credentials, and state directory under
.local/apple-container/slurm. The application uses thecbrainschema, with Bourreau connecting through the portal’s SSH tunnel. Slurm accounting usesslurm_acct_dband a dedicated database user scoped to that schema.Validation
Tested on Apple silicon with Ruby 4.0.2 / Rails 8.1.4.1 and the combined source tree in this PR.
cbrain-slurm-nodeand saved report 17 (Diagnostics-LocalBourreau-11-1.txt) to LocalStorage. Its report confirms successful reads of all 3,973 bytes of the existing input through both the shared cache path and the relative path in the task directory. This run reused the existing registered ARM64 image.COMPLETEDwith exit code0:0. Existing LocalStorage files retained their checksums. Chromium checks passed for portal login, authenticated pages, stylesheets, and absence of uncaught JavaScript errors.Review order
This PR targets
aces:masterand depends on #1717. Until #1717 merges, GitHub’s diff includes the base deployment. Review #1717 first, then use the Slurm/Apptainer-only diff for this addition.Replaces withdrawn #1712.